﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace splitthecheck
{
    public partial class WebForm2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        protected void ListBox1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }
        
        int i = 0;
        protected void splitButton_Click(object sender, EventArgs e)
        {
            
            i++;
            using (jatEntities2 jt = new jatEntities2())
            {
                var answer = from u in jt.CreateObjectSet<RESTAURANT>()
                             select u.rnumber;


            }
        }

        protected void antiSplitButton_Click(object sender, EventArgs e)
        {
           
        }

        protected void SqlDataSource1_Selecting(object sender, SqlDataSourceSelectingEventArgs e)
        {

        }
    }
}